<?php

namespace Home\Controller;
use Think\Controller;
class UpmoreController extends Controller{
    
public function index(){
     $up=M('good')->where(['up'=>0])->select();
     // dump($up);
     $price = M('attr')->getfield('gid,price');
      $this->assign('price',$price);
      $this->assign('up',$up);
      $this->display();
}

   
}